/*
 *	Copyright © 2013 Changsha Shishuo Network Technology Co., Ltd. All rights reserved.
 *	长沙市师说网络科技有限公司 版权所有
 *	http://www.shishuo.com
 */
package com.hlingsoft.kkh.action.admin;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 用户action
 * 
 * @author Administrator
 * 
 */
@Controller
@RequestMapping("/admin/comments")
public class AdminCommentsAction extends AdminBaseAction {

	@RequestMapping(value = "/page.htm", method = RequestMethod.GET)
	public String allList(@RequestParam(value = "zhutiId") long zhutiId,
			@RequestParam(value = "p", defaultValue = "1") int pageNum,
			ModelMap modelMap) {
		modelMap.put("pageVo",
				commentsService.getCommentsPage(zhutiId, pageNum));
		return "system/comments/all";
	}

 

}
